<template>
<el-input-number
  v-model="inner"
  @change="$emit('change', inner)"
  :controls="false"
  v-bind="$attrs"
  v-on="$listeners"
></el-input-number>
</template>

<script>
export default {
  name: 'InputNumberLazy',
  model: { prop: 'value', event: 'change' },
  props: { value: [String, Number] },
  components: {},
  data() {
    return { inner: this.value };
  },
  created() {},
  mounted() {},
  methods: {},
  watch: {
    value(v) { this.inner = v; }
  },
  computed: {},
};
</script>

<style lang="scss" scoped>
</style>
